package org.ruoyi.ppt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 *
 *
 * @author anran
 * @date 2025/9/30/周二 14:59
 */
@Data
@TableName("ppt_images")
public class PptImage implements Serializable {

    @TableId(value = "id", type = IdType.AUTO) // 自增主键
    private Integer id;

    @TableField("ppt_id")
    private String pptId;   // 逻辑外键，指向 ppt_results.id

    @TableField("image_url")
    private String imageUrl;

    @TableField("upload_time")
    private Integer uploadTime;   // Unix 时间戳
}
